package com.eudon.genius.api.core.example;

import java.util.List;

/**
 * 批量操作结果
 *
 * @author eudon
 * @since 2025/9/25
 */
public class BatchResult {
    
    /**
     * 总数
     */
    private Integer total;
    
    /**
     * 成功数量
     */
    private Integer successCount;
    
    /**
     * 失败数量
     */
    private Integer failureCount;
    
    /**
     * 成功的ID列表
     */
    private List<Long> successIds;
    
    /**
     * 失败的ID列表
     */
    private List<Long> failureIds;
    
    /**
     * 错误信息列表
     */
    private List<String> errorMessages;
    
    // Getters and Setters
    public Integer getTotal() { return total; }
    public void setTotal(Integer total) { this.total = total; }
    
    public Integer getSuccessCount() { return successCount; }
    public void setSuccessCount(Integer successCount) { this.successCount = successCount; }
    
    public Integer getFailureCount() { return failureCount; }
    public void setFailureCount(Integer failureCount) { this.failureCount = failureCount; }
    
    public List<Long> getSuccessIds() { return successIds; }
    public void setSuccessIds(List<Long> successIds) { this.successIds = successIds; }
    
    public List<Long> getFailureIds() { return failureIds; }
    public void setFailureIds(List<Long> failureIds) { this.failureIds = failureIds; }
    
    public List<String> getErrorMessages() { return errorMessages; }
    public void setErrorMessages(List<String> errorMessages) { this.errorMessages = errorMessages; }
}